package com.example.tellwin.view;

import android.content.Context;
import android.os.Bundle;
import android.widget.ProgressBar;

import androidx.annotation.NonNull;

import com.apkfuns.logutils.LogUtils;
import com.example.tellwin.R;
import com.example.tellwin.base.BaseDialog;

/**
 * @author : LinZePeng
 * @date : 2020/11/25
 * @Describe ：
 **/
public class LoadingDialog extends BaseDialog {

    private ProgressBar progressBar;

    public LoadingDialog(@NonNull Context context) {
        super(context, R.style.ActionSheetDialogStyle);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_loading);
        progressBar = findViewById(R.id.progress_bar);
        setCancelable(false);
    }

    @Override
    public void show() {
        super.show();
    }

    @Override
    public void dismiss() {
        super.dismiss();
    }
}
